package org.jeecg.modules.oauth.xkwoauth.controller;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
/**
 * @Description: 学科网网校通资源
 * @author: baochangrong
 * @Date: 2022-08-24
 * @Version: V1.0
 */
@RestController
@RequestMapping("/oauth/xkwoauth/xkwWxtController")
@Slf4j
public class XkwWxtController {
    @GetMapping("/index")
    public ModelAndView index() {
        ModelAndView mv = new ModelAndView("index");
        return mv;
    }

    @RequestMapping("/tabframe")
    public ModelAndView tabframe(String wxtpath) {
        ModelAndView mv = new ModelAndView("tabframe");
        mv.addObject("wxtpath",wxtpath);
        return mv;
    }

    @RequestMapping("/agentsetting")
    public ModelAndView agentSetting()
    {
        ModelAndView mv = new ModelAndView("agentSetting");
        return mv;
    }
}
